import { Header } from '@/components/Header';
// 从正确的相对路径导入CreateSnippetForm组件
import { CreateSnippetForm } from '@/components/CreateSnippetForm';

export default function NewSnippetPage() {
  return (
    <div className="flex flex-col min-h-screen bg-gray-50 dark:bg-gray-900">
      <Header />
      <main className="flex-1 container mx-auto py-8 px-4 md:px-6">
        <div className="bg-white dark:bg-gray-950 rounded-xl shadow-lg p-8 max-w-2xl mx-auto">
          <h1 className="text-3xl font-bold mb-6 text-gray-900 dark:text-gray-50">Create New Snippet</h1>
          <CreateSnippetForm />
        </div>
      </main>
    </div>
  );
}